package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
//轿车
public class Car {
    String brand;
    String color;

    public Car(String brand, String color) {
        this.brand = brand;
        this.color = color;
    }

    public Car() {
    }
    public void show(){
        System.out.println("这是一辆"+brand+",颜色是"+color);
    }
}
